#装饰器
def my_decorator(func):
    def wrapper(*args, **kwargs):
        print("Before calling the function")
        result = func(*args, **kwargs)
        print("After calling the function")
        return result
    return wrapper

@my_decorator
def my_function(x, y):
    print("Executing the function")
    return x + y

print(my_function(2, 3))